﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LiteQueryWPF.Entities
{
    public class Config
    {
        [XmlElement("AutoCreateDB")]
        public bool AutoCreateDB { get; set; } = true;

        [XmlElement("DBName")]
        public string DBName { get; set; } = "LiteQuery.db";

        [XmlElement("TableName")]
        public string TableName { get; set; } = "ExcelData";

        [XmlIgnore]
        public string DataSource { get; set; } = "data source={0};datetimeformat=ticks";//  CurrentCulture
    }
}
